package com.farm.state;

public class MaintenanceState implements MachineState {
    @Override
    public void handle(AgriculturalMachineContext context, String machineName) {
        System.out.println(machineName + "农机处于维护状态，不可用");
        context.setState(this);
    }

    @Override
    public String toString() {
        return "维护状态";
    }
}